package tianrun.ziguan.api.calculate.config.dao;

import org.apache.ibatis.annotations.Param;
import tianrun.ziguan.api.calculate.config.dto.request.TAssetExpressionVO;
import tianrun.ziguan.api.calculate.config.entity.TAssetExpression;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Collection;
import java.util.List;

/**
 * @author zhaoqi
 */
public interface TAssetExpressionMapper extends BaseMapper<TAssetExpression> {

    List<TAssetExpressionVO> queryListByAssetNums(@Param("assetNums") Collection<String> assetNums,@Param("tableName") String tableName);

    List<TAssetExpressionVO> queryListByAssetIds(@Param("ids")Collection<Long> ids,@Param("tableName") String tableName);
}
